package com.ruoyi.system.domain;


public class UserRegister {

    private Long id;
    private String name;
    private Integer sex;
    private String phone;
    private String weChat;
    private Long community;
    private Long building;
    private String address;
    private String code;
    private String password;
    private Long house_id;

    public UserRegister() {
    }

    public UserRegister(Long id, String name, Integer sex, String phone, String weChat, Long community, Long building, String address, String code, String password, Long house_id) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.weChat = weChat;
        this.community = community;
        this.building = building;
        this.address = address;
        this.code = code;
        this.password = password;
        this.house_id = house_id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWeChat() {
        return weChat;
    }

    public void setWeChat(String weChat) {
        this.weChat = weChat;
    }

    public Long getCommunity() {
        return community;
    }

    public void setCommunity(Long community) {
        this.community = community;
    }

    public Long getBuilding() {
        return building;
    }

    public void setBuilding(Long building) {
        this.building = building;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getHouse_id() {
        return house_id;
    }

    public void setHouse_id(Long house_id) {
        this.house_id = house_id;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", weChat='" + weChat + '\'' +
                ", community=" + community +
                ", building=" + building +
                ", address='" + address + '\'' +
                ", code='" + code + '\'' +
                ", password='" + password + '\'' +
                ", house_id=" + house_id +
                '}';
    }
}
